// @ts-ignore
/* eslint-disable */
import request from '@/utils/request';

/** 新增调价商品明细 POST /fds/inventory/addChgDetail */
export async function addChgDetailUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/addChgDetail', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 历史库存-店面统计 GET /fds/inventory/getHistInventoryStat */
export async function getHistInventoryStatUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/getHistInventoryStat', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 历史库存-柜组统计 GET /fds/inventory/getHistStStat */
export async function getHistStStatUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/getHistStStat', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 新增调价商品调价 POST /fds/inventory/addChgPrice */
export async function addChgPriceUsingPOST(body, options) {
  return request({
    url: '/fds/inventory/addChgPrice', 
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** 新增报损商品明细 POST /fds/inventory/addLosDetail */
export async function addLosDetailUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/addLosDetail', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 新增商品报损记录 POST /fds/inventory/addLosses */
export async function addLossesUsingPOST(body, options) {
  return request({
    url: '/fds/inventory/addLosses', 
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 设置预警天数 POST /fds/inventory/setAlertDay */
export async function setAlertDayUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/setAlertDay', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 审核 POST /fds/inventory/checkPur */
export async function checkPurUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/checkPur', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 删除调价商品明细信息 POST /fds/inventory/deleteChgDetail */
export async function deleteChgDetailUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/deleteChgDetail',
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 删除报损商品明细信息 POST /fds/inventory/deleteLosDetail */
export async function deleteLosDetailUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/deleteLosDetail', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取调价商品明细信息 GET /fds/inventory/getChgDetail */
export async function getChgDetailUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/getChgDetail', 
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取调价记录详情列表 POST /fds/inventory/getChgDetailList */
export async function getChgDetailListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/getChgDetailList', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取调价记录信息 GET /fds/inventory/getChgPrice */
export async function getChgPriceUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/getChgPrice', 
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取调价记录列表 POST /fds/inventory/getChgPriceList */
export async function getChgPriceListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/getChgPriceList', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取报损商品明细信息 GET /fds/inventory/getLosDetail */
export async function getLosDetailUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/getLosDetail', 
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取报损商品明细列表 POST /fds/inventory/getLosDetailList */
export async function getLosDetailListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/getLosDetailList', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取商品报损记录信息 GET /fds/inventory/getLosses */
export async function getLossesUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/getLosses', 
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取商品报损记录列表 POST /fds/inventory/getLossesList */
export async function getLossesListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/getLossesList', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 通过串码1/商品名/店铺Id/供应商Id获取库存商品信息 GET /fds/inventory/getPageBySingleCode */
export async function getPageBySingleCodeUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/getPageBySingleCode', 
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 通过Id获取库存商品详情 GET /fds/inventory/getInventoryById */
export async function getInventoryByIdUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/getInventoryById', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 商品名-统计汇总 GET /fds/inventory/getPageGoodsSummary */
export async function getPageGoodsSummaryUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/getPageGoodsSummary', 
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取库存分布列表 GET /fds/inventory/getPageInvDist */
export async function getPageInvDistUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/getPageInvDist', 
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取库存详情列表 GET /fds/inventory/getPageInventoryDetailList */
export async function getPageInventoryDetailListUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/getPageInventoryDetailList', 
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取库存统计-店面统计 GET /fds/inventory/getPageInventoryStat */
export async function getPageInventoryStatUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/getPageInventoryStat', 
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 超龄库存列表 GET /fds/inventory/getPageOverInventoryList */
export async function getPageOverInventoryListUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/getPageOverInventoryList',
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 统计汇总-除商品名统计 GET /fds/inventory/getPageSummary */
export async function getPageSummaryUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/getPageSummary', 
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 调价审核 POST /fds/inventory/chgPriceCheckPur */
export async function chgPriceCheckPurUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/chgPriceCheckPur', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 调价反审核 POST /fds/inventory/chgPriceUnCheckPur */
export async function chgPriceUnCheckPurUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/chgPriceUnCheckPur', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 报废损失详情-撤销 POST /fds/inventory/revokeLosDetail */
export async function revokeLosDetailUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/revokeLosDetail', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 报损审核 POST /fds/inventory/lossesCheckPur */
export async function lossesCheckPurUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/lossesCheckPur', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 报损反审核 POST /fds/inventory/lossesUnCheckPur */
export async function lossesUnCheckPurUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/lossesUnCheckPur', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 反审核 POST /fds/inventory/unCheckPur */
export async function unCheckPurUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/unCheckPur',
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 编辑调价详情 POST /fds/inventory/updateChgDetail */
export async function updateChgDetailUsingPOST(
  body,
  options,
) {
  return request('/fds/inventory/updateChgDetail', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** 修改调价记录信息 POST /fds/inventory/updateChgPrice */
export async function updateChgPriceUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/updateChgPrice', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改报损商品明细信息 POST /fds/inventory/updateLosDetail */
export async function updateLosDetailUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/updateLosDetail', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改商品报损记录信息 POST /fds/inventory/updateLosses */
export async function updateLossesUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request({
    url: '/fds/inventory/updateLosses', 
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 调价详情-撤销 POST /fds/inventory/revokeChgChgPrice */
export async function revokeChgDetailUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/revokeChgChgPrice', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 导出商品详情列表 POST /fds/inventory/exportInvDetail */
export async function exportInvDetailUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/exportInvDetail', {
    method: 'POST',
    responseType: 'blob',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 导出库存统计-店面统计 POST /fds/inventory/exportInventoryStat */
export async function exportInventoryStatUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/exportInventoryStat', {
    method: 'POST',
    responseType: 'blob',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 导出统计汇总（除商品名） POST /fds/inventory/exportSummary */
export async function exportSummaryUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/exportSummary', {
    method: 'POST',
    responseType: 'blob',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 导出历史库存-店面统计 POST /fds/inventory/exportHistInventoryStat */
export async function exportHistInventoryStatUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/exportHistInventoryStat', {
    method: 'POST',
    responseType: 'blob',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 导出历史库存-柜组统计 POST /fds/inventory/exportHistStStat */
export async function exportHistStStatUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/exportHistStStat', {
    method: 'POST',
    responseType: 'blob',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 导出超龄库存列表 POST /fds/inventory/exportOverInventory */
export async function exportOverInventoryUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/exportOverInventory', {
    method: 'POST',
    responseType: 'blob',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 导出调价记录详情列表 POST /fds/inventory/exportChgDetail */
export async function exportChgDetailUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/exportChgDetail', {
    method: 'POST',
    responseType: 'blob',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 导出调价记录列表 POST /fds/inventory/exportChgPrice */
export async function exportChgPriceUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/exportChgPrice', {
    method: 'POST',
    responseType: 'blob',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 导出报损记录详情列表 POST /fds/inventory/exportLosDetail */
export async function exportLosDetailUsingPOST1(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/exportLosDetail', {
    method: 'POST',
    responseType: 'blob',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 导出商品报损记录列表 POST /fds/inventory/exportLosses */
export async function exportLossesUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options,
) {
  return request('/fds/inventory/exportLosses', {
    method: 'POST',
    responseType: 'blob',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}